//
//  BQMissionCenterTableViewCell.m
//  Adorable_Things
//
//  Created by ybq on 16/1/14.
//  Copyright © 2016年 Banana Inc. All rights reserved.
//

#import "BQMissionCenterTableViewCell.h"

@implementation BQMissionCenterTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setModel:(BQMissionCenterModel *)model {
    _model = model;
    [_iconImageView sd_setImageWithURL:[NSURL URLWithString:model.icon_url] placeholderImage:nil];
    _titleLabel.text = model.title;
    _descriptionLabel.text = model.myDescription;
    _rewardLabel.text = [NSString stringWithFormat:@"%@",model.reward];
    _scaleLabel.text = [NSString stringWithFormat:@"%@/%@",model.finished_times, model.event_times];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
